package com.icw.decoupling.impl.expand.timer_job;

import java.util.Map;

import com.icw.decoupling.defi.expand.TimerJob;
import com.icw.decoupling.impl.tool.AwsBinaryDataManagerImpl;
import com.icw.utility.BeanCtxUtils;

public class AwsLazyUploadS3Job implements TimerJob {

	@Override
	public String getCron() {
		return "0 0/1 * * * ?";
	}

	@Override
	public Boolean getIfRunning() {
		return true;
	}

	@Override
	public void execute(Map<String, Object> dataOut) throws Exception {
		BeanCtxUtils.getBeanByType(AwsBinaryDataManagerImpl.class).lazyUpladJob();
	}
}
